package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcYingShiConfig;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2021-08-27 16:39
 * @Description: 萤石应用信息接口
 */
public interface DmcYingShiConfigService extends IService<DmcYingShiConfig> {

    /**
     * 保存萤石应用信息
     *
     * @param dmcYingShiConfig  the dmc ying shi config
     * @param loginAuthDto      the login auth dto
     *
     * @return  the int.
     */
    Integer save(DmcYingShiConfig dmcYingShiConfig, LoginAuthDto loginAuthDto);

    /**
     * 更新access token
     *
     * @param dmcYingShiConfig    the ying shi config
     *
     * @return  the int.
     */
    Integer updateAccessToken(DmcYingShiConfig dmcYingShiConfig);
}
